package student_system.Service;

import student_system.Dao.IUserDao;

import student_system.Dao.UserDaoImpl;
import student_system.bean.User;

public class UserServiceImpl implements IUserService{
    IUserDao userDao = new UserDaoImpl();
    @Override
    public User login(User user) {
        return userDao.find(user);
    }
    @Override
    public boolean registerUser(User user) {

        return userDao.registerUser(user);
    }
}
